package no.nordicsemi.android.nrfmesh.auth.data.db;

import androidx.room.Dao;
import androidx.room.Insert;
import androidx.room.Query;

@Dao
public interface DoctorProfileDao {
    @Insert long insert(DoctorProfile p);
    @Query("SELECT * FROM doctor_profiles WHERE accountId=:aid LIMIT 1")
    DoctorProfile byAccount(long aid);
}
